package com.hsmw.schedule.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hsmw.domain.HsmwConcreteInfo;
import com.hsmw.domain.HsmwConcreteOperate;
import com.hsmw.domain.HsmwConcreteOperateRecord;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

/**
 * 订单项目 混顶图标号
 */
@Data
public class OrderAndItemVO implements Serializable {

    @ApiModelProperty(value = "订单id")
    private String orderId;

    @ApiModelProperty(value = "项目名称")
    private String itemName;

    @ApiModelProperty(value = "施工单位名称")
    private String constructionUnitName;

    @ApiModelProperty(value = "预计方量")
    private String expectVolume;

    @ApiModelProperty(value = "到达时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime reachTime;

    @ApiModelProperty(value = "发布时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime publishTime;

    @ApiModelProperty(value = "工长手机号")
    private String createUserTel;

    @ApiModelProperty(value = "项目施工部位")
    private String itemPosition;

    @ApiModelProperty(value = "是否为泵车单")
    private String type;

    @ApiModelProperty(value = "项目id")
    private String itemId;

    @ApiModelProperty(value = "项目经纬度")
    private String itemLocation;

    @ApiModelProperty(value = "是否从混天凝叫车")
    private String ifSelfChoose;

    @ApiModelProperty(value = "施工部位id")
    private List<Map<String,String>> positionId;

    private List<HsmwConcreteOperate> hsmwConcreteOperates;

    private List<HsmwConcreteInfo> hsmwConcreteInfos;

    private List<HsmwConcreteOperateRecord> hsmwConcreteOperateRecords;

}
